cmake_minimum_required(VERSION 3.7.2)
project(camcap)
include_directories(../../binder/user/include ../../ashmem/user/include)
link_directories(../../binder/user ../../ashmem/user)
add_executable(camcap_srv source/camcap_srv.cpp include/service_api.h)
target_link_libraries(camcap_srv binder_cpp binder)
set(OpenCV_DIR /usr/)
find_package(OpenCV REQUIRED)
target_link_libraries(camcap_srv ${OpenCV_LIBS} pthread)
target_link_libraries(camcap_srv ashmem_cpp ashmem)